Abstract: In today’s world, wireless sensor network is very important in our daily life due to its variety of applications like in military and battlefield areas, business purposes, in education, or all other applications. Everything or every person is connected to wireless sensor network. Several nodes are connected through the wireless links. Wireless sensor network is vulnerable to various types of attacks. But black hole attack is very common and every hacker or attacker choose this attack because it stops the flow from source to destination. GSA and AFSA is natural phenomenon so we choose this to detect the black hole attack from the network. In this paper, we hybrid the GSA and AFSA to detect and prevent the black hole attack from the network. The main challenging problem is to design the fitness function and other parameters related to GSA and AFSA.
Keywords: Wireless Sensor Network, Black Hole Attack, GSA, AFSA.